<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>">
		<title>自助网站首页</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<%String userType = session.getAttribute("userType").toString();%>
		<frameset rows="90,*" frameborder="no" border="0" framespacing="0">
			<frame src="top.jsp" noresize="noresize" frameborder="NO" target="main" name="topFrame" scrolling="no" marginwidth="0" marginheight="0"/>
			<frameset rows="*" cols="150,*" id="frame" frameborder="no" border="0" framespacing="0">
				<%
					if ("CardHolderUser".equals(userType)) {
				%>
				<frame src="userleft.jsp" name="leftFrame" noresize="noresize" marginwidth="0" marginheight="0" frameborder="0" scrolling="yes" target="main" />
				<%
					}else if ("MerchantOper".equals(userType)) {
				%>
				<frame src="operleft.jsp" name="leftFrame" noresize="noresize" marginwidth="0" marginheight="0" frameborder="0" scrolling="yes" target="main" />
				<%
					}
				%>
				<frame src="main.jsp" name="main" marginwidth="0" marginheight="0" frameborder="0" scrolling="auto" target="_self" />
			</frameset>
		</frameset>
		<noframes></noframes>
</html>
